package cn.youyu.fm.utils;

import org.apache.shiro.crypto.hash.Md5Hash;

/**
 * @author: mayuanbao
 * @date: 2018-12-27 13:37
 * @description: Md5加密
 */
public class Md5 {
    public String getMd5(String password, String salt) {
        Md5Hash md5 = new Md5Hash(password, salt, 666);
        return md5.toHex();
    }
}
